package com.zchlwj;

import java.rmi.RemoteException;
import java.rmi.server.UnicastRemoteObject;

public class HelloServiceImpl extends UnicastRemoteObject implements HelloService {

    private static  final  long serialVersionUID = - 6253434624632346346L;
    public  HelloServiceImpl() throws RemoteException {
        super();
    }
    @Override
    public String sayHello(String someone) throws RemoteException {
        return "Hello, "+ someone;
    }
}
